package com.ceiling.dao;

import com.ceiling.bean.system.*;
import com.ceiling.bean.system.vo.AdminListOptionsVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SystemMapper {
    List<Admin> selectByAdminExample(AdminExample example);

    int insertSelective(Admin record);
//
    int updateByPrimaryKeySelective(Admin record);

    List<Log> selectByLogExample(LogExample example);

    List<Role> selectByRoleExample(RoleExample example);

    int insertRoleSelective(Role record);

    Role selectByRolePrimaryKey(Integer id);

    int updateRoleByPrimaryKeySelective(Role record);

    List<AdminListOptionsVo> queryRole();

    Admin queryAdminById(Integer id);
}
